#{extends 'main.html' /}
#{set title:'Create a new deck' /}

#{form @Decks.create()}

<h1>Create deck</h1>

<p>
    Name
</p>
<p>
    <input type="text" name="name" id="name" size="60"/>
</p>
<p>
    Notes
</p>

<p>
    <textarea rows="10" cols="80" name="notes" id="notes">${params.notes}</textarea>
</p>


<p>
    <input type="submit" value="Create deck"> or <a href="@{Decks.index()}">Cancel</a>
</p>

#{/form}